<?php if (!defined('THINK_PATH')) exit();?><!-- 更新 -->
<link rel="stylesheet" type="text/css" href="/Public/Admin/Style/common.css" />
<div class="pageContent">
    <form method="post" action="/Admin/Config/update" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone)" >
        <input type="hidden" name="refresh" value="refreshThis" />
		<?php if($dataInfo|count > 0): ?><div class="pageFormContent" layoutH="68">
            <div class="unit">
                <label>公司名称：</label>
                <input type="text" name="company" value="<?php echo ($dataInfo['company']); ?>" class="required" />
                <input type="hidden" name="id" value="1" />
            </div>
            <div class="unit">
                <label>网站标题：</label>
                <input type="text" name="web_title" value="<?php echo ($dataInfo['web_title']); ?>"  />
            </div>
            <div class="unit">
                <label>网站关键字：</label>
                <textarea name="web_keywords" class="intro" ><?php echo ($dataInfo['web_keywords']); ?></textarea>
            </div>
            <div class="unit">
                <label>网站描述：</label>
                <textarea name="web_description" class="intro" ><?php echo ($dataInfo['web_description']); ?></textarea>
            </div>
			<div class="unit">
                <label>腾铭基本简介：</label>
                <textarea name="tm_intro" class="intro" ><?php echo ($dataInfo['tm_intro']); ?></textarea>
            </div>
            <div class="unit">
                <label>官方服务电话：</label>
                <input type="text" name="phone" value="<?php echo ($dataInfo['phone']); ?>"  />
            </div>
           	<!--
			<div class="unit">
                <label>短信接口账号：</label>
                <input type="text" name="sms_account" value="<?php echo ($dataInfo['sms_account']); ?>" />
            </div>
			<div class="unit">
                <label>短信接口密码：</label>
                <input type="text" name="sms_password" value="<?php echo ($dataInfo['sms_password']); ?>" />
            </div>-->
			<div class="unit">
                <label style="float:left;">官方微信二维码：</label>
                <input type="hidden" name="weixin_erweima" value="<?php echo ($dataInfo['weixin_erweima']); ?>" />
                <input type="file" name="uploadify" id="weixin_erweima" class="uploadify" />
                <div class="weixin_erweima oneImage" style="padding-left:130px;">
                    <?php if($dataInfo['weixin_erweima'] != ''): ?><img src="<?php echo ($dataInfo['weixin_erweima']); ?>" height="100" /><?php endif; ?>
                </div>
            </div>
			<!-- 版权 -->
            <div class="unit">
                <label>底部版权信息：</label>
                <textarea name="copyright" class="kindeditor" tools="full" style="height:200px;width:80%;" ><?php echo ($dataInfo['copyright']); ?></textarea>
            </div>
        </div>
        <div class="formBar">
            <ul>
                     <li>
                        <div class="buttonSave">
                            <div class="buttonSaveContent">
                                <button type="submit">
                            		<i class="iconfont">&#xe644;</i>保存
                                </button>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="buttonCancel">
                            <div class="buttonCancelContent">
                                <button type="button" class="close">
                                	<i class="iconfont">&#xe640;</i>取消
                                </button>
                            </div>
                        </div>
                    </li>
            </ul>
        </div><?php endif; ?>
    </form>
</div>